package com.imooc.demo.enums;

import lombok.Getter;

/**
 * @Auther: 杨通通
 * @Date: 2021/11/5 20:48
 * @Description:
 */

@Getter
public enum OrderStatusEnum {
    NEW(0,"新订单"),
     FINISH(1,"完结"),
    CANCEL(2,"取消");

    private Integer code;
    private String message;

     OrderStatusEnum(Integer code, String message) {
        this.code = code;
        this.message = message;
    }
}